package com.onehouse.domain.checkIn.service;

import com.onehouse.domain.checkIn.model.entity.CheckInRooms;

public interface ICheckInService {

    // checkIn的前置条件，已在trigger层通过room模块完成了验证锁表操作
    CheckInRooms startCheckin(CheckInRooms checkInRooms);

    CheckInRooms update(CheckInRooms checkInRooms);

    CheckInRooms refresh();

    String createPayment();

    void processSuccessPayment(String checkInOrderId, String paymentId);

    void processFailPayment(Exception e);

    void clear();

}
